#include"heap.h"

int main()
{
	hp h;
	HeapInit(&h);
	HeapPush(&h, 1);
	HeapPush(&h, 4);
	HeapPush(&h, 6);
	HeapPush(&h, 3);
	HeapPush(&h, 8);
	HeapPush(&h, 9);
	HeapPush(&h, 4);
	HeapPush(&h, 2);

	HPDataType a[10] = { 3,6,2,7,3,1,6,34,2,1 };
	int size = sizeof(a) / sizeof(HPDataType);
	HeapSort(a, size);

	return 0;
}